home *** CD-ROM | disk | FTP | other *** search
-
-
-
- MMMMEEEEDDDDIIIIAAAADDDD((((1111MMMM)))) MMMMEEEEDDDDIIIIAAAADDDD((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- mediad - removable media daemon
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- mmmmeeeeddddiiiiaaaadddd
- mmmmeeeeddddiiiiaaaadddd [ ----llll _l_e_v_e_l ] [ ----ffff ] ] [ ----nnnn ] ----aaaa
- mmmmeeeeddddiiiiaaaadddd [ ----dddd ] ----ffff
- mmmmeeeeddddiiiiaaaadddd ----kkkk
- mmmmeeeeddddiiiiaaaadddd ----llll _l_e_v_e_l
- mmmmeeeeddddiiiiaaaadddd [ ----llll _l_e_v_e_l ] ----eeee [ _c_t_l_r ] _I_D [ _L_U_N ] | _d_i_r | _d_e_v_i_c_e
- mmmmeeeeddddiiiiaaaadddd [ ----llll _l_e_v_e_l ] ----uuuu
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- mmmmeeeeddddiiiiaaaadddd is a daemon that monitors the removable media devices on a system.
- When media is inserted, mediad scans the media for filesystems and mounts
- them. When a user issues the eeeejjjjeeeecccctttt command, eeeejjjjeeeecccctttt sends mediad a
- message, and mediad dismounts the filesystems and ejects the media.
- NNNN....BBBB....:::: Because data corruption and loss will occur if media is forcibly
- removed without unmounting any filesystems present on the media, always
- eject disk media using either the eeeejjjjeeeecccctttt command or the _E_j_e_c_t selection in
- the desktop pop-up menu for the device.
-
- For all options other than ----eeee, ----uuuu, and ----mmmm, mediad may only be invoked by
- the superuser.
-
- mmmmeeeeddddiiiiaaaadddd reads configuration options from its configuration file,
- /_e_t_c/_c_o_n_f_i_g/_m_e_d_i_a_d._c_o_n_f_i_g. mediad continually monitors its configuration
- file. When that file changes, mediad immediately updates device status
- to match the file. The configuration file is described below under
- CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN FFFFIIIILLLLEEEE SSSSYYYYNNNNTTTTAAAAXXXX.
-
- mmmmeeeeddddiiiiaaaadddd also provides information to the IRIX Interactive Desktop and
- system administration tools which they use to draw the icons representing
- removable media devices.
-
- mmmmeeeeddddiiiiaaaadddd monitors these device types:
-
- CDROM CD-ROM
-
- dat DAT tape
-
- floppy Insite floptical disk, Teac SCSI floppy disk
-
- jaz Iomega Jaz disk
-
- LS-120 LS-120 I-O Data 120MB floppy-compatible disk
-
- optical Sony SMO-521 and Pinnacle Sierra magneto-optical disks
-
- syquest SyQuest EZ135, 88, 105, 200, and 270 Mb disks
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- MMMMEEEEDDDDIIIIAAAADDDD((((1111MMMM)))) MMMMEEEEDDDDIIIIAAAADDDD((((1111MMMM))))
-
-
-
- tape QIC 24, 150, 1000, and 1350 tapes, IBM 3480 tape, Exabyte 8 mm
- tape, and DLT tape
-
- zip Iomega Zip disk
-
- Note that CDROM, dat, floppy, LS-120 and tape are sold and supported by
- SGI. The rest (jaz, optical, syquest, zip) are not sold or supported by
- SGI.
-
- mmmmeeeeddddiiiiaaaadddd recognizes these filesystem types on devices that support them.
- See _f_i_l_e_s_y_s_t_e_m_s(4).
-
- cdda Compact Disk Digital Audio
-
- dos IBM PC DOS
-
- efs Silicon Graphics Extent File System
-
- iso9660 ISO 9660 filesystem for CD-ROM, also the High Sierra, Rock
- Ridge and PhotoCD extensions.
-
- hfs Apple Macintosh Hierarchical File System
-
- xfs Silicon Graphics XFS File System
-
- If a disk has several nonoverlapping partitions, mmmmeeeeddddiiiiaaaadddd mounts them all
- by default. If it has overlapping partitions, mediad mounts the
- filesystem type that appears first in the list above. You can override
- the default behavior using the configuration file.
-
- mmmmeeeeddddiiiiaaaadddd uses the following rules to choose the directory where it mounts a
- filesystem.
-
- 1. If the configuration file contains an applicable mmmmoooouuuunnnntttt command, and
- the mmmmoooouuuunnnntttt command specifies a directory, that directory is used.
-
- 2. Otherwise, if mediad is only mounting one partition from the device,
- then the device name is used. If there is more than one device of a
- given type, a number is appended to every device except the first.
- (For example, filesystems from two Zip drives are mounted at /_z_i_p
- and /_z_i_p_2.)
-
- 3. Otherwise, the directory name is made by concatenating the device
- name, the filesystem type, and the partition number. (For example,
- three DOS partitions on a Jaz drive are mounted at
- /_j_a_z/_d_o_s._p_a_r_t_i_t_i_o_n_1, /_j_a_z/_d_o_s._p_a_r_t_i_t_i_o_n_2 and /_j_a_z/_d_o_s._p_a_r_t_i_t_i_o_n_3.)
-
- mmmmeeeeddddiiiiaaaadddd uses the dynamic shared objects (DSOs) in /_u_s_r/_d_e_v_i_c_e_l_i_b. There
- is one DSO for each device type mediad understands and one DSO for each
- filesystem type.
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- MMMMEEEEDDDDIIIIAAAADDDD((((1111MMMM)))) MMMMEEEEDDDDIIIIAAAADDDD((((1111MMMM))))
-
-
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- ----aaaa Start mediad in the background. (This is the default when no
- arguments are specified)
-
- ----dddd Turn on the _d_s_d_e_b_u_g variable of _d_s_l_i_b(3X) which enables voluminous
- SCSI command tracing. The ----dddd option must be used with the ----ffff
- option.
-
- ----eeee _d_e_v_i_c_e
- Eject the given device. The device must be specified as described
- under CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN FFFFIIIILLLLEEEE SSSSYYYYNNNNTTTTAAAAXXXX, below.
-
- ----eeee _d_i_r_e_c_t_o_r_y
- Eject the device containing the filesystem mounted at the given
- directory.
-
- ----ffff Start mediad in the foreground. When running in the foreground,
- mediad does not fork at startup. The ----ffff option also sets the
- default log level to LLLLOOOOGGGG____DDDDEEEEBBBBUUUUGGGG, and log messages are directed to
- mediad's standard error instead of to _s_y_s_l_o_g_d(1M).
-
- ----kkkk Send a message to mediad telling it to exit. When mediad exits, it
- dismounts all the filesystems it has mounted.
-
- ----llll _l_e_v_e_l
- When used alone, sends a message to the currently running mediad to
- log all messages of priority _l_e_v_e_l and higher. When used with ----aaaa,
- ----ffff, ----eeee or ----uuuu option, the ----llll option affects the current mediad
- process instead of sending a message.
-
- ----nnnn Mount all filesystems with the nosuid mount option. When ----nnnn is
- specified, _n_o_s_u_i_d is specified in the options argument of all
- _m_o_u_n_t(1M) commands that _m_e_d_i_a_d runs.
-
- ----uuuu Eject the default device. On systems with more than one removable
- media device, this command should not be used, because the default
- device is not predictable.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEE CCCCOOOOMMMMMMMMAAAANNNNDDDDSSSS
- mmmmeeeeddddiiiiaaaadddd ----llll 7777 ----aaaa
- Start mediad in the background with full debugging output.
-
- mmmmeeeeddddiiiiaaaadddd ----ffff
- Start mediad in the foreground with full debugging output.
-
- mmmmeeeeddddiiiiaaaadddd ----eeee 0000 4444 0000
- mmmmeeeeddddiiiiaaaadddd ----eeee 0000 4444
- mmmmeeeeddddiiiiaaaadddd ----eeee 4444
- mmmmeeeeddddiiiiaaaadddd ----eeee ////ddddeeeevvvv////ssssccccssssiiii////sssscccc0000dddd4444llll0000
- mmmmeeeeddddiiiiaaaadddd ----eeee ////ddddeeeevvvv////rrrrddddsssskkkk////ddddkkkkssss0000dddd4444ssss7777
- mmmmeeeeddddiiiiaaaadddd ----eeee ////ddddeeeevvvv////rrrrmmmmtttt////ttttppppssss0000dddd4444
- mmmmeeeeddddiiiiaaaadddd ----eeee ////ddddeeeevvvv////rrrrddddsssskkkk////ffffddddssss0000dddd4444....3333....5555hhhhiiii
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-
-
-
- MMMMEEEEDDDDIIIIAAAADDDD((((1111MMMM)))) MMMMEEEEDDDDIIIIAAAADDDD((((1111MMMM))))
-
-
-
- Each of these commands ejects the device at SCSI controller 0, ID 4,
- LUN 0.
-
- mmmmeeeeddddiiiiaaaadddd ----eeee ////ffffllllooooppppppppyyyy
- Eject the device with a filesystem mounted at the directory /_f_l_o_p_p_y.
-
- CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN FFFFIIIILLLLEEEE SSSSYYYYNNNNTTTTAAAAXXXX
- mediad's configuration file, /_e_t_c/_c_o_n_f_i_g/_m_e_d_i_a_d._c_o_n_f_i_g, is optional, and
- is not present in the system as shipped. It may be created at any time
- as needed. The file consists of one or more configuration commands, with
- one command per line. Comments begin with a # character and continue to
- the end of the line.
-
- A ddddeeeevvvviiiicccceeee ssssppppeeeecccciiiiffffiiiiccccaaaattttiiiioooonnnn specifies a device. It consists of the keyword
- ddddeeeevvvviiiicccceeee followed by the name of a device special file. The special file
- is only used to determine the device's address - the type of device is
- unimportant. Mediad recognizes these device types.
-
- scsi generic SCSI device
-
- dksc SCSI disk device
-
- tpsc SCSI tape device
-
- smfd SCSI floppy/floptical device
-
- A ffffiiiilllleeeessssyyyysssstttteeeemmmm ssssppppeeeecccciiiiffffiiiiccccaaaattttiiiioooonnnn specifies a pattern to match filesystems. A
- filesystem specification consists of the keyword ffffiiiilllleeeessssyyyysssstttteeeemmmm, the name of
- a device special file, a filesystem type, and, optionally, the keyword
- ppppaaaarrrrttttiiiittttiiiioooonnnn followed by a partition number. If the partition number is
- omitted, the filesystem specification matches a filesystem covering the
- whole disk. In general, within a filesystem specification the device
- should be named using the device special file name that mediad uses by
- default. An exception occurs when using ISO 9660 CD-ROMs. For ISO 9660
- filesystems the CD-ROM device must be specified by its entry in the
- directory /_d_e_v/_s_c_s_i.
-
- These are the configuration file's commands.
-
- iiiiggggnnnnoooorrrreeee _d_e_v_i_c_e _s_p_e_c_i_f_i_c_a_t_i_o_n
- Tells mediad not to monitor this device. The device will have a
- generic device icon on the desktop, and mediad will not access the
- device.
-
- iiiiggggnnnnoooorrrreeee _f_i_l_e_s_y_s_t_e_m _s_p_e_c_i_f_i_c_a_t_i_o_n
- Tells mediad not to mount filesystems matching this specification.
-
- mmmmoooonnnniiiittttoooorrrr _d_e_v_i_c_e _s_p_e_c_i_f_i_c_a_t_i_o_n
- Tells mediad to monitor this device. This is the default.
-
-
-
-
-
-
- PPPPaaaaggggeeee 4444
-
-
-
-
-
-
- MMMMEEEEDDDDIIIIAAAADDDD((((1111MMMM)))) MMMMEEEEDDDDIIIIAAAADDDD((((1111MMMM))))
-
-
-
- The monitor command has these optional parameters.
-
- iiiinnnnsssscccchhhhkkkk _n_u_m_b_e_r
- Tells mediad to check for media insertion every _n_u_m_b_e_r seconds.
- The default is 3.
-
- rrrrmmmmvvvvcccchhhhkkkk _n_u_m_b_e_r
- Tells mediad to check for media removal every _n_u_m_b_e_r seconds.
- The default is 45.
-
- mmmmoooouuuunnnntttt _f_i_l_e_s_y_s_t_e_m _s_p_e_c_i_f_i_c_a_t_i_o_n
- Tells mediad to mount filesystems matching this specification.
- Filesystems that match a mount command will be preferentially
- mounted over filesystems that do not, so you can use the mmmmoooouuuunnnntttt
- command to override mediad's filesystem precedence order.
-
- The mount command has these optional parameters.
-
- ddddiiiirrrreeeeccccttttoooorrrryyyy _p_a_t_h
- Tells mediad to mount the filesystem at this directory.
-
- ooooppppttttiiiioooonnnnssss _l_i_s_t
- Tells mediad to pass these mount options to the mount command
- when mounting the filesystem. See _f_s_t_a_b(4) for a list of valid
- options.
-
- sssshhhhaaaarrrreeeedddd
- Tells mediad to export the filesystem for remote NFS access
- after mounting it. If the filesystem's mount directory is
- listed in /_e_t_c/_e_x_p_o_r_t_s (see _e_x_p_o_r_t_s(4)), the export options
- listed there are used. Otherwise, the filesystem is exported
- read-only to all hosts. See the description of the sssshhhhaaaarrrreeee
- command below.
-
- uuuunnnnsssshhhhaaaarrrreeeedddd
- Tells mediad not to export the filesystem.
-
- sssshhhhaaaarrrreeee _d_e_v_i_c_e _s_p_e_c_i_f_i_c_a_t_i_o_n
- Tells mediad to share the specified device. A shared device can be
- accessed from other machines through the IRIX Interactive Desktop.
- A shared device's filesystems are also exported by default, although
- you can override that behavior via the mmmmoooouuuunnnntttt command, described
- above.
-
- SSSSAAAAMMMMPPPPLLLLEEEE CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN FFFFIIIILLLLEEEE
- #### iiiiggggnnnnoooorrrreeee aaaa ttttaaaappppeeee ddddeeeevvvviiiicccceeee ccccoooommmmpppplllleeeetttteeeellllyyyy....
- iiiiggggnnnnoooorrrreeee ddddeeeevvvviiiicccceeee ////ddddeeeevvvv////rrrrmmmmtttt////ttttppppssss0000dddd6666
-
- #### ddddoooo nnnnooootttt mmmmoooouuuunnnntttt aaaauuuuddddiiiioooo CCCCDDDDssss oooonnnn tttthhhhiiiissss CCCCDDDD----RRRROOOOMMMM ddddrrrriiiivvvveeee....
- iiiiggggnnnnoooorrrreeee ffffiiiilllleeeessssyyyysssstttteeeemmmm ////ddddeeeevvvv////ssssccccssssiiii////sssscccc0000dddd4444llll0000 ccccddddddddaaaa
-
- #### cccchhhheeeecccckkkk aaaa ffffllllooooppppppppyyyy ddddeeeevvvviiiicccceeee ffffoooorrrr iiiinnnnsssseeeerrrrttttiiiioooonnnn aaaannnndddd rrrreeeemmmmoooovvvvaaaallll
-
-
-
- PPPPaaaaggggeeee 5555
-
-
-
-
-
-
- MMMMEEEEDDDDIIIIAAAADDDD((((1111MMMM)))) MMMMEEEEDDDDIIIIAAAADDDD((((1111MMMM))))
-
-
-
- #### eeeevvvveeeerrrryyyy 66660000 sssseeeeccccoooonnnnddddssss
- mmmmoooonnnniiiittttoooorrrr ddddeeeevvvviiiicccceeee ////ddddeeeevvvv////ssssccccssssiiii////sssscccc0000dddd2222llll0000 iiiinnnnsssscccchhhhkkkk 66660000 rrrrmmmmvvvvcccchhhhkkkk 66660000
-
- #### mmmmoooouuuunnnntttt HHHHFFFFSSSS ((((MMMMaaaacccciiiinnnnttttoooosssshhhh)))) ffffiiiilllleeeessssyyyysssstttteeeemmmmssss oooonnnn aaaa CCCCDDDD----RRRROOOOMMMM
- #### pppprrrreeeeffffeeeerrrreeeennnnttttiiiiaaaallllllllyyyy oooovvvveeeerrrr ooootttthhhheeeerrrr ffffiiiilllleeeessssyyyysssstttteeeemmmm ttttyyyyppppeeeessss
- mmmmoooouuuunnnntttt ffffiiiilllleeeessssyyyysssstttteeeemmmm ////ddddeeeevvvv////ssssccccssssiiii////sssscccc0000dddd4444llll0000 hhhhffffssss
-
- #### mmmmoooouuuunnnntttt EEEEFFFFSSSS ffffiiiilllleeeessssyyyysssstttteeeemmmmssss oooonnnn tttthhhheeee ggggiiiivvvveeeennnn CCCCDDDD----RRRROOOOMMMM aaaatttt
- #### tttthhhheeee ddddiiiirrrreeeeccccttttoooorrrryyyy """"////ddddaaaattttaaaa"""",,,, ddddiiiissssaaaalllllllloooowwwwiiiinnnngggg sssseeeetttt----UUUUIIIIDDDD pppprrrrooooggggrrrraaaammmmssss....
- mmmmoooouuuunnnntttt ffffiiiilllleeeessssyyyysssstttteeeemmmm ////ddddeeeevvvv////ddddsssskkkk////ddddkkkkssss0000dddd4444ssss7777 eeeeffffssss ddddiiiirrrreeeeccccttttoooorrrryyyy ////ddddaaaattttaaaa ooooppppttttiiiioooonnnnssss nnnnoooossssuuuuiiiidddd
-
- #### sssshhhhaaaarrrreeee aaaa ZZZZiiiipppp ddddrrrriiiivvvveeee
- sssshhhhaaaarrrreeee ddddeeeevvvviiiicccceeee ////ddddeeeevvvv////ssssccccssssiiii////sssscccc0000dddd6666llll0000
-
-
- FFFFIIIILLLLEEEESSSS
- /etc/config/mediad.config configuration file
-
- /etc/init.d/mediad mediad startup and shutdown script
-
- /etc/config/mediad.options command line arguments mediad is started
- with during system initialization
-
- /usr/lib/devicelib/dev_*.so device DSOs
-
- /usr/lib/devicelib/fmt_*.so filesystem format DSOs
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- eject(1), mount(1M), exports(4), filesystems(4), fstab(4), scsi(7),
- dksc(7), tpsc(7), smfd(7).
-
- NNNNOOOOTTTTEEEESSSS
- For a complete list of devices supported on SGI platforms, please contact
- your support provider.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 6666
-
-
-
-